package top.healthylife.gateway.platform.bj.api.api.xingyu;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import top.healthylife.gateway.core.service.ParentFace;
import top.healthylife.gateway.dto.annotation.ApiServiceExplain;
import top.healthylife.gateway.platform.bj.api.util.BjHttpUtil;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.xingyu.standard21plus.req.BjReqPersonalMarkStarStandard21PlusV1Dto;
import top.healthylife.gateway.platform.bj.dto.personalmark.v1.xingyu.standard21plus.res.BjResPersonalMarkStarStandard21PlusV1Dto;

/**
 * @author : GaoZeXi
 * @date 2021/7/14 9:50
 */
@Slf4j
@Service
@ApiServiceExplain(price = 20,apiName = "个人评分-星宇分21Plus标准版", info = "冰鉴个人评分平台 星宇分21Plus标准版 API 接口。")
public class PersonalMarkStar21PlusStandardV1Api implements ParentFace<BjReqPersonalMarkStarStandard21PlusV1Dto, BjResPersonalMarkStarStandard21PlusV1Dto> {
    static final String URL = "/person-ds/credit/PlusGeneralGalaxyScore21";
    @Override
    public BjResPersonalMarkStarStandard21PlusV1Dto execute(BjReqPersonalMarkStarStandard21PlusV1Dto dto){
        return BjHttpUtil.httpRequest(dto,URL, BjResPersonalMarkStarStandard21PlusV1Dto.class);
    }
}
